package com.yannuo.mapper;

import com.yannuo.pojo.Emp;

import java.util.List;

public interface EmpMapper {

     List<Emp> findEmps();
     Emp findEmpByEmpno(Integer empno);
     List<Emp> likeQueryEmpByJobAndDeptno(Emp emp);
     int addEmp(Emp emp);
     int addEmp1(Emp emp);
     int addEmp2(Emp emp);
     int addEmp3(Emp emp);
     int deleteEmpByEmpno(Integer empno);
     int modifyEmp(Emp emp);
     List<Emp> listEmp(Emp emp);
     List<Emp> listEmp2(Emp emp);
     int updateEmp(Emp emp);
     int selectedDeleteEmp(Integer[] empnos);
     int selectedDeleteEmp1(List<Integer> empnos);
}
